import request from '@/utils/request'

export function selectAllRoom(params) {
  return request({
    url: '/room/selectAll',
    method: 'get',
    params
  })
}

export function insertByRoom(params) {
  return request({
    url: '/room/insert',
    method: 'get',
    params
  })
}

export function updateByRoom(params) {
  return request({
    url: '/room/update',
    method: 'get',
    params
  })
}

export function deleteByRoom(params) {
  return request({
    url: '/room/delete',
    method: 'get',
    params
  })
}
